<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>仓库管理</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> 
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<script src="__PUBLIC__/js/jquery.validate.js"></script>
    <script src="__PUBLIC__/js/messages_cn.js"></script>
	<link rel="stylesheet" href="__PUBLIC__/Css/jquery.mobile-1.2.0.css" />
	<link rel="stylesheet" href="__PUBLIC__/Css/jquery.validate.css" />
	<script src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
	<script src="__PUBLIC__/js/jquery.mobile-1.2.0.js"></script>
</head>
<body>
<div data-role="page">

　　<div data-role="header" data-position="fixed">
　　　<a href="__APP__/Index/index"  rel="external" data-role="button" data-icon="home">主页</a>
           <div style="text-align:center;color: red" >东明库</div>   
           <a href="__URL__/add/name/storeA" rel="external" data-role="button" data-icon="plus" data-theme="a" >新增</a>
           <div data-role="navbar">
                <ul>
                    <li><a href="__URL__/StoreA" rel="external" class="ui-btn-active">东明库</a></li>
                    <li><a href="__URL__/StoreB" rel="external">南曹库</a></li>
                    <li><a href="__URL__/StoreC" rel="external">金海库</a></li>
                </ul>
            </div>
　　</div>
　　<!-- /header -->
　　　<div data-role="content"> 
<ul data-role="listview">
 <volist name="list" id="vo">
 <li><a href="__URL__/read/id/{$vo['id']}" rel="external"  data-rel="dialog">{$vo.whp}</a>
 <div>
     <font size="2">库存:{$vo.stock}&nbsp;&nbsp;产品名称:{$vo.product}</font> </div>
      <span class="ui-li-count"><a href="__URL__/edit/id/{$vo['id']}" rel="external" style="text-decoration:none"><font size="3">修改</font></a> &nbsp;&nbsp;<a href="#popupDialog"  data-position-to="window" data-rel="popup"   style="text-decoration:none"><font size="3">删除</font></a></span>
     </li>
      <div data-role="popup" id="popupDialog">
 <div data-role="header"><h1>删除信息</h1></div>
 <div data-role="content">
<h1>你确定要删除吗?</h1>
<div data-type="horizontal" data-role="controlgroup">
<a href="__URL__/delete/ids/{$vo['id']}"  rel="external" data-role="button" class="ui-btn-active" data-ajax="false" >删除</a><a href="#" onclick="quxiao();" data-role="button">取消</a>
</div>
</div>
</div>
</volist>
</ul>
<script type="text/javascript">
	  function quxiao()
	  {
		  $( "#popupDialog" ).popup( "close" );
	  }
	</script>

</div>
　　<!-- /content -->

　　<div data-role="footer" data-position="fixed" data-theme="e" >
<div style="text-align:center;height:10px;" data-type="horizontal" data-role="controlgroup">
{$page}
</div>
　</div><!-- /footer -->
　</div><!-- /page -->

</body>
</html>